package com.woniu.bh.beautysalon.feign;

import feign.Logger.Level;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @version: V1.0
 * @author: 陈小宝
 * @className: FeignConfig
 * @packageName: com.woniu.feign
 * @description:
 * @data: 2020-09-18 16:39
 */
@Configuration
@EnableFeignClients(basePackages = "com.woniu.bh.beautysalon.client")
public class FeignConfig {

    //配置日志
    @Bean
    public Level createLevel(){
        return Level.FULL;
    }

}
